home *** CD-ROM | disk | FTP | other *** search
/ Super PC 34 / Super PC 34 (Shareware).iso / spc / UTIL / DJGPP2 / V2 / DJTST200.ZIP / tests / libc / posix / sys / stat / fixpath.c next >
Encoding:
C/C++ Source or Header  |  1996-01-14  |  263 b   |  17 lines

  1. #include <stdio.h>
  2. #include <sys/types.h>
  3. #include <sys/stat.h>
  4.  
  5. int
  6. main(int argc, char **argv)
  7. {
  8.   int i;
  9.   for (i=1; i<argc; i++)
  10.   {
  11.     char buf[1000];
  12.     _fixpath(argv[i], buf);
  13.     printf("`%s' -> `%s'\n", argv[i], buf);
  14.   }
  15.   return 0;
  16. }
  17.